package c8.template;

public class OnlineBankingTest {
    public static void main(String[] args){
        OnlineBankingA oa=new OnlineBankingA();
        OnlineBankingB ob=new OnlineBankingB();
        oa.processConsumer(1);
        ob.processConsumer(2);

        OnlineBankingLambda onlineBankingLambda=new OnlineBankingLambda();
        onlineBankingLambda.processConsumer(3,c->System.out.println("Hi,"+c.getName()+",you from lambda,give you 3000000$."));
    }
}
